.truncate {
  text-overflow: unset;
  display: flex;
  flex-direction: row;
  align-items: start;
  position: relative;

  .truncate-link {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-shrink: 1;
    overflow: hidden;
  }

  .first {
    flex-grow: 0;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
  }

  .last-four {
    flex-shrink: 0;
    flex-grow: 0;
    user-select: none;
  }

  &.inline {
    display: inline-flex;
  }

  .hidden-content {
    color: transparent;
    position: absolute;
    max-width: 300px;
    overflow: hidden;
  }

  .disabled {
    pointer-events: none;
    opacity: 0.8;
    color: #fff;
  }
}

@media (max-width: 567px) {
  .hidden-content {
    max-width: 150px !important;
  }
}
